package co.yixiang.hw.repository;

import co.yixiang.hw.domain.YxStoreProduct;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
* @author Walert
* @date 2020-02-13
*/
public interface YxStoreProductRepository extends JpaRepository<YxStoreProduct, Integer>, JpaSpecificationExecutor<YxStoreProduct> {

    List<YxStoreProduct> findByIdIn(List<Integer> ids);
}